#ifndef PASER_FILE_NAME_H
#define PASER_FILE_NAME_H
#include <Common\Common.h>
#include <Config\OptionChan.h>
#include <string>
#include <vector>
class DllExport PaserName{
	int valid;
	std::string dir;
	std::string name;
	std::string ext;
	std::string pathName;
	float initFreq;
	int blocksize;
public:

	PaserName(std::string path);
	std::string getDir();
	std::string getName();
	std::string getExt();
	std::string getPath();
	float getInitFreq();

	int isValid();
	DataChannel* GetInfoChan(DataChannel *dataChan);
};



class DllExport ListFile{
	std::vector<std::string> listfiles;
	
	int valid;
public:
	int load(std::string path);
	ListFile();
	int size();
	PaserName operator [](unsigned int post);
};

#endif 